package com.foreverwin.jzymes.common.service;

import com.foreverwin.jzymes.common.domain.ActivityLog;
import com.foreverwin.jzymes.production.sfc.domain.SFC;

import java.util.Date;
import java.util.List;

public interface IActivityLogAdviceService {

    /**
     * 查询本体指定时间之后在工序过站记录
     *
     * @param site
     * @param carrier
     * @param operation
     * @param fromDate
     * @return
     */
    public List<ActivityLog> findCarrierActivityLogOnOperation(String site, String carrier, String operation, Date fromDate );

    /**
     * 保存过站记录
     *
     * @param sfc
     * @param carrier
     * @param dateCode
     * @param resource
     * @param passQty
     * @param passDate
     */
    public void saveActivityLog( String site, String sfc, String itemBo, String carrier, String dateCode, String resource, Long passQty, Date passDate );

    /**
     * 保存过站记录
     *
     * @param sfc
     * @param carrier
     * @param dateCode
     * @param resource
     * @param operation
     * @param passQty
     * @param passDate
     */
    public void saveActivityLog(String site, String sfc, String itemBo, String carrier, String dateCode, String resource, String operation, Long passQty, Date passDate );
}
